package blog.entity;

import java.util.Date;

/**
 * Article entity. @author MyEclipse Persistence Tools
 */

public class Article implements java.io.Serializable {

	// Fields

	private Integer articleId;
	private String title;
	private String content;
	private Date publishTime;
	private Integer readPeople;
	private String keyWord;
	private Integer praise;
	private Integer author;

	// Constructors
	public Article(){}

	public Article(Integer author, String content,
			String keyWord, Integer praise, Date publishTime,
			Integer readPeople, String title) {
		super(); 
		this.author = author;
		this.content = content;
		this.keyWord = keyWord;
		this.praise = praise;
		this.publishTime = publishTime;
		this.readPeople = readPeople;
		this.title = title;
	}

	public Integer getArticleId() {
		return articleId;
	}

	public void setArticleId(Integer articleId) {
		this.articleId = articleId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getPublishTime() {
		return publishTime;
	}

	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}

	public Integer getReadPeople() {
		return readPeople;
	}

	public void setReadPeople(Integer readPeople) {
		this.readPeople = readPeople;
	}

	public String getKeyWord() {
		return keyWord;
	}

	public void setKeyWord(String keyWord) {
		this.keyWord = keyWord;
	}

	public Integer getPraise() {
		return praise;
	}

	public void setPraise(Integer praise) {
		this.praise = praise;
	}

	public Integer getAuthor() {
		return author;
	}

	public void setAuthor(Integer author) {
		this.author = author;
	}

	
	
}